import React from 'react'
import { Form, Radio, Input, Button, Row, Select, DatePicker, Col } from 'antd'
import ActionTable from './component/ActionTable'
import './Action.less'
const { Option } = Select
const { RangePicker } = DatePicker
export default function Action() {
	const [form] = Form.useForm()
	return (
		<div className='action'>
			<Row className='header_search' gutter={[20, 16]} style={{ background: '#fff', padding: '0px 40px 20px 40px' ,marginTop:'10px' }}>
				<Form layout='inline' labelCol={{ span: 8 }} wrapperCol={{ span: 16 }} form={form}>
					<Row>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item labelCol={{ span: 8 }} label='公司代码' name='c'>
								<Input placeholder='请选择公司代码' />
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item label='资产分类' name='a'>
								<Input placeholder='请选择资产分类' />
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item label='选择年度' name='b' >
								<Select>
									<Option value='2021'> 2021 </Option>
									<Option value='2020'> 2020 </Option>
								</Select>
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item label='测算年度' name='d' >
								<RangePicker picker='year'></RangePicker>
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item label='测算版本' name='e' >
								<Select>
									<Option value='v1'> v1 </Option>
									<Option value='v2'> v2 </Option>
								</Select>
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item label='存量资产' name='f' >
								<Select>
									<Option value='1'> 1 </Option>
									<Option value='2'> 2 </Option>
								</Select>
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item label='增量资产' name='g' >
								<Select>
									<Option value='1'> 1 </Option>
									<Option value='2'> 2 </Option>
								</Select>
							</Form.Item>
						</Col>
						<Col xs={12} sm={12} md={12} lg={8} xl={4} xxl={4}>
							<Form.Item>
								<Button type='primary'>搜索</Button>
							</Form.Item>
						</Col>
					</Row>
				</Form>
			</Row>
      <ActionTable></ActionTable>
		</div>
	)
}
